/**
 * @author brianxia
 * @version 1.0
 * @date 2021/10/7 15:47
 */
public class Debug1 {

    public String name;

    public static void test1(){
        System.out.println("test1");
        throw new RuntimeException();
    }


    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            int y = 0;
        }
        Debug1 debug1 = new Debug1();
        debug1.name = "zhangsan";
        String name = debug1.name;
        test1();
    }

    @Override
    public String toString() {
        return "Debug1{" +
                "name='" + name + '\'' +
                '}';
    }
}
